<template>
    <!-- 开屏广告 -->
    <Spread  />
    <!-- 顶部蓝色病史标题区域 -->
    <Header />
    <!-- Tabs分类区域 -->
    <Bodytabs ref="bodytabsRef" />
    <!-- 底部按钮保存区域 -->
    <Footerbtns @call-back-event="callBackEvent" />
</template>


<script setup>
import { onMounted } from 'vue';
import request from '@/api/request.js';
import Spread from './spread.vue';
import Header from './header.vue';
import Bodytabs from './bodytabs.vue';
import Footerbtns from './footerbtns.vue';


onMounted(async res => {
    // let result1 = await request.get("/xxxx").catch(err=>{
    //        console.log(err);
    // });
    
    // let result2 = await request.get("/bbbbb").catch(err=>{
    //        console.log(err);
    // });

    // console.log(result1);
    // console.log(result2);
});

const bodytabsRef = ref();

const callBackEvent = () =>{
    bodytabsRef.value?.getCompData();
}

</script>

<style scoped>

</style>
